/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */

export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  column: [
    {
      label: '租户ID',
      prop: 'id',
      addDisplay: false,
      editDisplay: false,
    },
    {
      label: '公司全称',
      prop: 'name',
      placeholder: '长度不能超过50字符',
      overHidden: true
    },
    {
      label: '公司简称',
      prop: 'shortName',
    },
    {
      label: '公司电话',
      prop: 'phone',
    },
    {
      label: '公司地址',
      prop: 'addr',
      overHidden: true,
      placeholder: '长度不能超过500字符',
    },
    {
      label: '账户名称',
      prop: 'account',
      addDisplay: true,
      editDisplay: false,
      hide: true
    },
    {
      label: '账户密码',
      prop: 'password',
      addDisplay: true,
      editDisplay: false,
      hide: true
    },
    {
      label: '公司描述',
      prop: 'descMsg',
      placeholder: '长度不能超过500字符',
      type: 'textarea',
      overHidden: true
    },
    {
      label: '修改时间',
      prop: 'updateTime',
      type: 'date',
      addDisplay: false,
      editDisplay: false,
    },
    {
      label: '创建时间',
      prop: 'createTime',
      type: 'date',
      addDisplay: false,
      editDisplay: false,
    },
  ]
}
